﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model.FromBody
{
    public class DataResultModel
    {
        public class DataBoolResult
        {
            public bool result { get; set; } = false;
            public string msg { get; set; }
            public int code { get; set; } = 0;
        }

        public class UserRegisterResult
        {
            public int code { get; set; } = 0;
            public string msg { get; set; }
            public FMRegister data { get; set; } = null;
        }

        public class UserLoginResult
        {
            public int code { get; set; } = 0;
            public string msg { get; set; }
            public sysuser data { get; set; } = null;
        }

        public class MemberTopUpResult
        {
            public string msg { get; set; }
            public List<TopUpItemDataInfoMode> data { get; set; } = null;
        }

        public class MemberListResult
        {
            public int total { get; set; } = 0;
            public List<corecmsuser> data { get; set; } = null;
        }
    }   

}
